package pers.mobian.testtransactional.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import pers.mobian.testtransactional.dao.SaveMapper;
import pers.mobian.testtransactional.pojo.User;
import pers.mobian.testtransactional.service.impl.SaveService;

import java.util.List;

/**
 * @Date 2021/8/14 11:16
 * @Created mobian
 * @Description
 */
@Component
public class SaveServiceImpl implements SaveService {

	@Autowired
	private SaveMapper saveMapper;

	@Override
	public List<User> findUserList() {
		return saveMapper.findUserList();
	}
}
